package com.lyf.scm.admin.api.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 需求计划确认量
 *
 * @author wangchlei
 * @date 2020/10/29
 */
@Data
public class RequirementConfirmationDTO {
    private BigDecimal supplyChainConfirmationQty;
    private String warehouseCode;
    private String skuCode;
    @NotNull(message = "日期不能为空！")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planStartDate;
    private String channelCode;
    private String provinceCode;
    private String cityCode;
    private String countyCode;
    private String storeCode;
}
